<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>人员脚本导入</title>
    <script src="${ctx}/extends/jquery.min.js" type="text/javascript"></script>
    <#include "/pubHeadStyle.html">
</head>
<body>
<form>
    <table class="layui-table">
        <tr>
            <td style="width: 20%">名称:</td>
            <td>
                <div >
                    <input type="hidden" name="id"  autocomplete="off" class="layui-input" value="${identity.id}">
                    <input type="text" name="identityName"  autocomplete="off" class="layui-input" value="${identity.identityName}" readonly>
                </div>
            </td>
        </tr>
        <tr>
            <td>别名:</td>
            <td>
                <input type="text"  name="alias" autocomplete="off" class="layui-input" value="${identity.alias}" readonly>
            </td>
        </tr>
        <tr>
            <td>规则:</td>
            <td>
                <input type="text" name="rule" id="rule"  autocomplete="off" class="layui-input" value="${identity.rule}" readonly>
            </td>
        </tr>
        <tr>
            <td>生成类型:</td>
            <td>
                <input type="text" name="genType"  autocomplete="off" class="layui-input"
                <#if identity.genType==1 >value="每天生成"</#if>
            <#if identity.genType==2 >value="每月生成"</#if>
        <#if identity.genType==3 >value="每年生成"</#if>
    <#if identity.genType==0 >value="递增"</#if> readonly >
            </td>
        </tr>
        <tr>
            <td>流水号长度:</td>
            <td>
                <input type="text" name="noLength"  autocomplete="off" class="layui-input" value="${identity.noLength}" readonly >
            </td>
        </tr>
        <tr>
            <td>初始值:</td>
            <td>
                <input type="text" name="initValue"  autocomplete="off" class="layui-input" value="${identity.initValue}" readonly>
            </td>
        </tr>
        <tr>
            <td>当前值:</td>
            <td>
                <input type="text" name="curValue"  autocomplete="off" class="layui-input" value="${identity.curValue}" readonly>
            </td>
        </tr>
    </table>

    <div class="layui-btn-container layui-footer" style="position: absolute;width: 100%;text-align:center; bottom:10px">
        <button class="layui-btn layui-btn-sm layui-btn-danger" id="close">关闭</button>
    </div>
</form>
<script>
    layui.config({
        base: serverPath.systemPath + staticPath.systemPath //静态资源所在路径
    }).extend({
        index: 'index' //主入口模块
    }).use(['index','form'], function () {
        var form = layui.form;

        var index = parent.layer.getFrameIndex(window.name);
        $(document).on('click', '#close', function () {
            parent.layer.close(index);
        });
    })
</script>
</body>
</html>